package com.qingfeng.client.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/1/6 10:16 上午
 */
@ApiModel(value = "com.qingfeng.client.bean.Grand")
@Data
@TableName(value = "grand")
public class Grand {
    /**
     * 品牌id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "品牌id")
    private Long id;

    /**
     * 品牌类型，对应商品类型表
     */
    @TableField(value = "type_id")
    @ApiModelProperty(value = "品牌类型，对应商品类型表")
    private Integer typeId;

    /**
     * 品牌名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "品牌名称")
    private String name;

    /**
     * 品牌图标
     */
    @TableField(value = "icon")
    @ApiModelProperty(value = "品牌图标")
    private String icon;

    /**
     * 公司名称
     */
    @TableField(value = "company")
    @ApiModelProperty(value = "公司名称")
    private String company;

    /**
     * 品牌简介
     */
    @TableField(value = "introduce")
    @ApiModelProperty(value = "品牌简介")
    private String introduce;

    /**
     * 品牌首字母拼音大写
     */
    @TableField(value = "py")
    @ApiModelProperty(value = "品牌首字母拼音大写")
    private String py;
}